Browse Source

:arrow_up: Add PHPCS

master
Clement Desmidt 7 months ago
parent
commit
b01fa92d99
2 changed files with 54 additions and 2 deletions
  1. 2
    1
      composer.json
  2. 52
    1
      composer.lock

+ 2
- 1
composer.json View File

@@ -1,5 +1,6 @@
1 1
 {
2 2
     "require-dev": {
3
-        "phpro/grumphp": "^0.14.2"
3
+        "phpro/grumphp": "^0.14.2",
4
+        "squizlabs/php_codesniffer": "^3.3"
4 5
     }
5 6
 }

+ 52
- 1
composer.lock View File

@@ -4,7 +4,7 @@
4 4
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
5 5
         "This file is @generated automatically"
6 6
     ],
7
-    "content-hash": "bafc85afe5729f0770dc67c7fe30df38",
7
+    "content-hash": "dc997a67f4b35dfc7b3414a6f9bb16e0",
8 8
     "packages": [],
9 9
     "packages-dev": [
10 10
         {
@@ -866,6 +866,57 @@
866 866
             "time": "2015-10-13T18:44:15+00:00"
867 867
         },
868 868
         {
869
+            "name": "squizlabs/php_codesniffer",
870
+            "version": "3.3.2",
871
+            "source": {
872
+                "type": "git",
873
+                "url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
874
+                "reference": "6ad28354c04b364c3c71a34e4a18b629cc3b231e"
875
+            },
876
+            "dist": {
877
+                "type": "zip",
878
+                "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/6ad28354c04b364c3c71a34e4a18b629cc3b231e",
879
+                "reference": "6ad28354c04b364c3c71a34e4a18b629cc3b231e",
880
+                "shasum": ""
881
+            },
882
+            "require": {
883
+                "ext-simplexml": "*",
884
+                "ext-tokenizer": "*",
885
+                "ext-xmlwriter": "*",
886
+                "php": ">=5.4.0"
887
+            },
888
+            "require-dev": {
889
+                "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0"
890
+            },
891
+            "bin": [
892
+                "bin/phpcs",
893
+                "bin/phpcbf"
894
+            ],
895
+            "type": "library",
896
+            "extra": {
897
+                "branch-alias": {
898
+                    "dev-master": "3.x-dev"
899
+                }
900
+            },
901
+            "notification-url": "https://packagist.org/downloads/",
902
+            "license": [
903
+                "BSD-3-Clause"
904
+            ],
905
+            "authors": [
906
+                {
907
+                    "name": "Greg Sherwood",
908
+                    "role": "lead"
909
+                }
910
+            ],
911
+            "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
912
+            "homepage": "http://www.squizlabs.com/php-codesniffer",
913
+            "keywords": [
914
+                "phpcs",
915
+                "standards"
916
+            ],
917
+            "time": "2018-09-23T23:08:17+00:00"
918
+        },
919
+        {
869 920
             "name": "symfony/config",
870 921
             "version": "v4.1.6",
871 922
             "source": {

Loading…
Cancel
Save