Browse code

CI: switch from old PHP security checker to local-php-security-checker + don't run on old PHP versions

Hanno Böck authored on28/02/2021 21:13:58
Showing1 changed files
... ...
@@ -1,10 +1,11 @@
1 1
 language: php
2 2
 php:
3
-  - '7.3'
4 3
   - '7.4'
4
+  - '8.0'
5 5
 install:
6 6
   - wget https://cs.symfony.com/download/php-cs-fixer-v2.phar
7
-  - wget https://get.sensiolabs.org/security-checker.phar
7
+  - wget -O local-php-security-checker https://github.com/fabpot/local-php-security-checker/releases/download/v1.0.0/local-php-security-checker_1.0.0_linux_amd64
8
+  - chmod +x local-php-security-checker
8 9
 script:
9 10
   - php php-cs-fixer-v2.phar fix --rules @PSR1,@PSR2,no_whitespace_in_blank_line --dry-run --diff .
10
-  - php security-checker.phar security:check
11
+  - ./local-php-security-checker