Skip to content

Commit 1b92f1f

Browse files
committed
Chore: Fix: Fix a Scrtinize config error
``` Config Error: Unrecognized option "analysis" under "{root}.build.nodes.test-with-php56". Available options are "acceptance_tests", "cache", "commands", "container", "dependencies", "deployment", "environment", "image", "linked_containers", "project_setup", "requires", "resources", "root_path", "services", "teardown", "tests". ``` ``` remote: Total 6 (delta 4), reused 6 (delta 4), pack-reused 0 Unpacking objects: 100% (6/6), 1.19 KiB | 203.00 KiB/s, done. Enumerating objects: 106442, done. Counting objects: 100% (106442/106442), done. Delta compression using up to 32 threads Compressing objects: 100% (22906/22906), done. Writing objects: 100% (106442/106442), done. Total 106442 (delta 84456), reused 105252 (delta 83360) $ git checkout -qf fe933cf Parsing custom inspection configuration Parsing checkout configuration Configuration was invalid: Unrecognized option "analysis" under "{root}.build.nodes.test-with-php56". Available options are "acceptance_tests", "cache", "commands", "container", "dependencies", "deployment", "environment", "image", "linked_containers", "project_setup", "requires", "resources", "root_path", "services", "teardown", "tests". Aborting due to config error. ```
1 parent fe933cf commit 1b92f1f

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.scrutinizer.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,12 @@ build:
1717
# php:
1818
# version: 5.4
1919
test-with-php56:
20-
analysis:
21-
dependencies:
22-
# Without this, the following error occurs:
23-
# apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load: Cannot load /usr/lib/apache2/modules/libphp5.so into server: /usr/lib/apache2/modules/libphp5.so: cannot open shared object file: No such file or directory
24-
# @see https://askubuntu.com/a/536141
25-
before:
26-
- sudo apt-get install libapache2-mod-php5
20+
dependencies:
21+
# Without this, the following error occurs:
22+
# apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load: Cannot load /usr/lib/apache2/modules/libphp5.so into server: /usr/lib/apache2/modules/libphp5.so: cannot open shared object file: No such file or directory
23+
# @see https://askubuntu.com/a/536141
24+
before:
25+
- sudo apt-get install libapache2-mod-php5
2726
environment:
2827
php:
2928
version: 5.6

0 commit comments

Comments
 (0)