Browse Source

[GearmanBundle] Fixed some broken code in git movements

Marc 13 years ago
parent
commit
5ac4e4649e
3 changed files with 34 additions and 2 deletions
  1. 1 1
      .gitignore
  2. 1 1
      phpcs.sh
  3. 32 0
      project/dev.base.yml

+ 1 - 1
.gitignore

@@ -1,5 +1,5 @@
 .settings
 .buildpath
 .project
-project
+project/report/*
 lib/GearmanBundle/Resources/Sandbox

+ 1 - 1
phpcs.sh

@@ -1,3 +1,3 @@
 #!/bin/bash
 
-find ./lib/Mmoreramerino/GearmanBundle/ | grep \.php | xargs -I {} phpcs {} > project/Reportings/codesniffer.log
+find ./lib/Mmoreramerino/GearmanBundle/ | grep \.php | xargs -I {} phpcs {} > project/report/codesniffer.log

+ 32 - 0
project/dev.base.yml

@@ -0,0 +1,32 @@
+
+# Bundles gearman will parse searching annotations
+bundles:
+  # Name of bundle
+  GearmanBundle:
+    # Namespace to be found
+    namespace: Mmoreramerino\GearmanBundle
+    # Bundle search can be enabled or disabled
+    active: true
+
+# default values
+defaults:
+  # default method.
+  #     do
+  #     doBackground
+  #     doHigh
+  #     doHighBackground
+  #     doLow
+  #     doLowBackground
+  method: do
+
+  # Server list by default workers and clients will connect
+  # Server name must contain port
+  # If annotations defined, will be overwritten
+  servers:
+    localhost:
+      hostname: 127.0.0.1
+      port: 4730
+
+  # Default number of executions before job dies.
+  # If annotations defined, will be overwritten
+  iterations: 150