Bläddra i källkod

Agregado del check de sintaxis

gabriel 6 år sedan
förälder
incheckning
75672e6443
5 ändrade filer med 52 tillägg och 17 borttagningar
  1. 1 0
      .drone.yml
  2. 2 1
      app/AppKernel.php
  3. 1 1
      app/DoctrineMigrations/src/template.yml
  4. 10 1
      composer.json
  5. 38 14
      composer.lock

+ 1 - 0
.drone.yml

@@ -56,6 +56,7 @@ pipeline:
       - tail -f var/logs/*.log &
       - bin/console server:run --env=prod &
       - vendor/phpunit/phpunit/phpunit -c phpunit.xml.dist
+      - bin/console check:spell --dir="/opt/ftth/app/DoctrineMigrations/src/"
 
  docker:
    repo : docker.infra.flowdat.com/fd3/ftth

+ 2 - 1
app/AppKernel.php

@@ -46,7 +46,8 @@ class AppKernel extends Kernel
             new SimpleThings\EntityAudit\SimpleThingsEntityAuditBundle(),
             new AuditBundle\AuditBundle(),
             new RadiusBundle\RadiusBundle(),
-            new TR069Bundle\TR069Bundle()
+            new TR069Bundle\TR069Bundle(),
+            new CheckSintaxBundle\CheckSintaxBundle()
         ];
 
         if (in_array($this->getEnvironment(), ['dev', 'test'], true)) {

Filskillnaden har hållts tillbaka eftersom den är för stor
+ 1 - 1
app/DoctrineMigrations/src/template.yml


+ 10 - 1
composer.json

@@ -4,7 +4,8 @@
     "type": "project",
     "autoload": {
         "psr-4": {
-            "": "src/"
+            "": "src/",
+            "CheckSpellBundle\\": "vendor/ik/check-spell-bundle/"
         },
         "classmap": [
             "app/AppKernel.php",
@@ -117,6 +118,13 @@
             "options": {
                 "local_pk": "./keys/bitbucket.id_rsa"
             }
+        },
+        {
+            "type": "vcs",
+            "url": "ssh://git@gogs.infra.flowdat.com:222/VendorSoftwareFlowdat3/CheckSintaxBundle.git",
+            "options": {
+                "local_pk": "./keys/bitbucket.id_rsa"
+            }
         }
     ],
     "config": {
@@ -141,6 +149,7 @@
         "ik/auth-bundle": "dev-master",
         "ik/base-admin-bundle": "dev-master",
         "ik/device-bundle": "dev-master",
+        "ik/check-sintax-bundle": "dev-master",
         "ik/extra-data-bundle": "dev-master",
         "ik/leaflet-bundle": "dev-master",
         "ik/map-bundle": "dev-master",

+ 38 - 14
composer.lock

@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
         "This file is @generated automatically"
     ],
-    "content-hash": "11bd53a13ca264f130b5487322345f88",
+    "content-hash": "6c55ce2f28c94b7fea624c3695757e1b",
     "packages": [
         {
             "name": "behat/gherkin",
@@ -1947,7 +1947,7 @@
             "source": {
                 "type": "git",
                 "url": "ssh://git@200.50.168.30:222/VendorSoftwareFlowdat3/BaseAdmin.git",
-                "reference": "3a901b80d11841240048727b0353d9aa5975df49"
+                "reference": "d0c7faf0c4a016856eb800ab2fb75786213b27e5"
             },
             "type": "library",
             "autoload": {
@@ -1962,7 +1962,30 @@
                 "bootstrap",
                 "sonata"
             ],
-            "time": "2018-11-22T14:16:08+00:00"
+            "time": "2018-12-06T11:38:28+00:00"
+        },
+        {
+            "name": "ik/check-sintax-bundle",
+            "version": "dev-master",
+            "source": {
+                "type": "git",
+                "url": "ssh://git@gogs.infra.flowdat.com:222/VendorSoftwareFlowdat3/CheckSintaxBundle.git",
+                "reference": "4182076c492ee1e34d9f9515795b923d94d709b6"
+            },
+            "type": "library",
+            "autoload": {
+                "psr-4": {
+                    "CheckSintaxBundle\\": ""
+                }
+            },
+            "description": "Flowdat 3 Device Bundle",
+            "keywords": [
+                "Admin Generator",
+                "admin",
+                "bundle",
+                "validators"
+            ],
+            "time": "2018-12-21T15:41:40+00:00"
         },
         {
             "name": "ik/device-bundle",
@@ -1993,7 +2016,7 @@
             "source": {
                 "type": "git",
                 "url": "ssh://git@200.50.168.30:222/VendorSoftwareFlowdat3/ExtraDataBundle.git",
-                "reference": "46b52cf971097fee846639ba0dc5d37863f0a283"
+                "reference": "c85d52d5e306faaa44f9d45353365d00f10adf2d"
             },
             "type": "library",
             "autoload": {
@@ -2008,7 +2031,7 @@
                 "bundle",
                 "extra-data"
             ],
-            "time": "2018-11-15T15:48:51+00:00"
+            "time": "2018-12-14T11:31:02+00:00"
         },
         {
             "name": "ik/leaflet-bundle",
@@ -2016,7 +2039,7 @@
             "source": {
                 "type": "git",
                 "url": "ssh://git@gogs.infra.flowdat.com:222/VendorSoftwareFlowdat3/LeafletBundle.git",
-                "reference": "db4aba82a00ac8af06d5445c4473648959798127"
+                "reference": "5fa33e67613667d93dbaa9e878b38420fe3518a5"
             },
             "require": {
                 "ext-curl": "*",
@@ -2029,7 +2052,7 @@
                 }
             },
             "description": "The Flowdat3 Leaflet Resource",
-            "time": "2018-03-06T18:03:24+00:00"
+            "time": "2018-12-05T12:04:14+00:00"
         },
         {
             "name": "ik/map-bundle",
@@ -2083,7 +2106,7 @@
             "source": {
                 "type": "git",
                 "url": "ssh://git@200.50.168.30:222/VendorSoftwareFlowdat3/BaseOAuthClientBundle.git",
-                "reference": "596bc7b28ad90ba558da5b3eb5d7f26c583b148d"
+                "reference": "1c60fd91f1bb0fe5125da70908670629d4d341e6"
             },
             "require": {
                 "ext-curl": "*",
@@ -2102,7 +2125,7 @@
                 "bundle",
                 "oauth"
             ],
-            "time": "2018-10-23T15:06:48+00:00"
+            "time": "2018-12-04T13:12:24+00:00"
         },
         {
             "name": "ik/owner-voter-bundle",
@@ -2179,7 +2202,7 @@
             "source": {
                 "type": "git",
                 "url": "ssh://git@200.50.168.30:222/VendorSoftwareFlowdat3/Webservice.git",
-                "reference": "28366e01175fa5b598a10ed4c21966c31f8f144c"
+                "reference": "bb39029da4924cc7c800717b5e7c799dc38aafb0"
             },
             "require": {
                 "ext-curl": "*",
@@ -2192,7 +2215,7 @@
                 }
             },
             "description": "The Flowdat3 Webservice Rest",
-            "time": "2018-11-16T18:33:20+00:00"
+            "time": "2018-12-18T17:41:41+00:00"
         },
         {
             "name": "ik/workflow-bundle",
@@ -2200,7 +2223,7 @@
             "source": {
                 "type": "git",
                 "url": "ssh://git@200.50.168.30:222/VendorSoftwareFlowdat3/WorkflowBundle.git",
-                "reference": "8919bf2fec49fa73cd31b07a83a542bbd0767136"
+                "reference": "3b16291fcaf4d9aebca3a2a0914de310a28768b4"
             },
             "require": {
                 "php-amqplib/rabbitmq-bundle": "^1.12"
@@ -2230,7 +2253,7 @@
                 "bundle",
                 "workflow"
             ],
-            "time": "2018-11-23T13:16:02+00:00"
+            "time": "2018-12-10T15:23:26+00:00"
         },
         {
             "name": "incenteev/composer-parameter-handler",
@@ -6725,6 +6748,7 @@
         "ik/auth-bundle": 20,
         "ik/base-admin-bundle": 20,
         "ik/device-bundle": 20,
+        "ik/check-sintax-bundle": 20,
         "ik/extra-data-bundle": 20,
         "ik/leaflet-bundle": 20,
         "ik/map-bundle": 20,
@@ -6739,7 +6763,7 @@
         "voryx/restgeneratorbundle": 20
     },
     "prefer-stable": false,
-    "prefer-lowest": true,
+    "prefer-lowest": false,
     "platform": {
         "php": ">=5.5.9"
     },