Forráskód Böngészése

Agregado de check sintax

gabriel 6 éve
szülő
commit
1d5cb10a6e
4 módosított fájl, 45 hozzáadás és 10 törlés
  1. 2 0
      .drone.yml
  2. 1 0
      app/AppKernel.php
  3. 8 0
      composer.json
  4. 34 10
      composer.lock

+ 2 - 0
.drone.yml

@@ -52,6 +52,8 @@ pipeline:
       - tail -f var/logs/*.log &
       - bin/console server:run --env=test &
       - vendor/phpunit/phpunit/phpunit -c phpunit.xml.dist
+      - bin/console check:sintax --dir="./app/DoctrineMigrations/src/" --debug=true
+
 
  docker:
    repo : docker.infra.flowdat.com/fd3/cablemodem

+ 1 - 0
app/AppKernel.php

@@ -45,6 +45,7 @@ class AppKernel extends Kernel
             new AuthBundle\AuthBundle(),
             new AuditBundle\AuditBundle(),
             new CablemodemBundle\CablemodemBundle(),
+            new CheckSintaxBundle\CheckSintaxBundle()
         ];
 
         if (in_array($this->getEnvironment(), ['dev', 'test'], true)) {

+ 8 - 0
composer.json

@@ -119,6 +119,13 @@
             "type": "vcs",
             "url": "ssh://git@gogs.infra.flowdat.com:222/3erPartyFlowdat3/SonataAdminBundle.git",
             "name": "ik-sonata"
+        },
+        {
+            "type": "vcs",
+            "url": "ssh://git@gogs.infra.flowdat.com:222/VendorSoftwareFlowdat3/CheckSintaxBundle.git",
+            "options": {
+                "local_pk": "./keys/bitbucket.id_rsa"
+            }
         }
     ],
     "config": {
@@ -139,6 +146,7 @@
         "ik/audit-bundle": "dev-master",
         "ik/auth-bundle": "dev-master",
         "ik/base-admin-bundle": "dev-master",
+        "ik/check-sintax-bundle": "dev-master",
         "ik/device-bundle": "dev-master",
         "ik/extra-data-bundle": "dev-master",
         "ik/leaflet-bundle": "dev-master",

+ 34 - 10
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": "cf26a79187488ef3ec3bafb55a6f72f5",
+    "content-hash": "a0d2847ea2d37fa8b440bb35fb634266",
     "packages": [
         {
             "name": "behat/transliterator",
@@ -103,7 +103,7 @@
                     "homepage": "https://florian.ec"
                 }
             ],
-            "description": "Converts a string into a slug.",
+            "description": "Converts a string into a slug",
             "keywords": [
                 "slug",
                 "slugify"
@@ -1458,7 +1458,7 @@
             "source": {
                 "type": "git",
                 "url": "ssh://git@gogs.infra.flowdat.com:222/VendorSoftwareFlowdat3/BaseAdmin.git",
-                "reference": "3a901b80d11841240048727b0353d9aa5975df49"
+                "reference": "d0c7faf0c4a016856eb800ab2fb75786213b27e5"
             },
             "type": "library",
             "autoload": {
@@ -1473,7 +1473,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",
@@ -1527,7 +1550,7 @@
             "source": {
                 "type": "git",
                 "url": "ssh://git@gogs.infra.flowdat.com:222/VendorSoftwareFlowdat3/LeafletBundle.git",
-                "reference": "db4aba82a00ac8af06d5445c4473648959798127"
+                "reference": "5fa33e67613667d93dbaa9e878b38420fe3518a5"
             },
             "require": {
                 "ext-curl": "*",
@@ -1540,7 +1563,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",
@@ -1670,7 +1693,7 @@
             "source": {
                 "type": "git",
                 "url": "ssh://git@gogs.infra.flowdat.com:222/VendorSoftwareFlowdat3/Webservice.git",
-                "reference": "28366e01175fa5b598a10ed4c21966c31f8f144c"
+                "reference": "bb39029da4924cc7c800717b5e7c799dc38aafb0"
             },
             "require": {
                 "ext-curl": "*",
@@ -1683,7 +1706,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",
@@ -1691,7 +1714,7 @@
             "source": {
                 "type": "git",
                 "url": "ssh://git@gogs.infra.flowdat.com:222/VendorSoftwareFlowdat3/WorkflowBundle.git",
-                "reference": "345d371349f7317b5a64ceca087319c70f7c5669"
+                "reference": "3b16291fcaf4d9aebca3a2a0914de310a28768b4"
             },
             "require": {
                 "php-amqplib/rabbitmq-bundle": "^1.12"
@@ -1721,7 +1744,7 @@
                 "bundle",
                 "workflow"
             ],
-            "time": "2018-12-06T13:38:05+00:00"
+            "time": "2018-12-10T15:23:26+00:00"
         },
         {
             "name": "incenteev/composer-parameter-handler",
@@ -6314,6 +6337,7 @@
         "ik/audit-bundle": 20,
         "ik/auth-bundle": 20,
         "ik/base-admin-bundle": 20,
+        "ik/check-sintax-bundle": 20,
         "ik/device-bundle": 20,
         "ik/extra-data-bundle": 20,
         "ik/leaflet-bundle": 20,