Completed
Push — master ( ef1304...f41bb0 )
by Ingo
02:16
created
src/SilverStripe/BehatExtension/Compiler/MinkExtensionBaseUrlPass.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      * Copied logic from Core.php, because it needs to be executed prior to {@link SilverStripeAwareInitializer}.
59 59
      *
60 60
      * @param String Absolute start path to search upwards from
61
-     * @return Boolean Absolute path to environment file
61
+     * @return string|null Absolute path to environment file
62 62
      */
63 63
     protected function findEnvironmentConfigFile($path) {
64 64
         $envPath = null;
@@ -85,6 +85,7 @@  discard block
 block discarded – undo
85 85
      *
86 86
      * @param String Absolute start path to search upwards from
87 87
      * @param Array Map of paths to host names
88
+     * @param string $path
88 89
      * @return String URL
89 90
      */
90 91
     protected function findBaseUrlFromMapping($path, $mapping) {
Please login to merge, or discard this patch.
src/SilverStripe/BehatExtension/Context/BasicContext.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -750,7 +750,7 @@  discard block
 block discarded – undo
750 750
      * - fieldset[data-name] table
751 751
      * - table caption
752 752
      *
753
-     * @return Behat\Mink\Element\NodeElement
753
+     * @return \Behat\Mink\Element\NodeElement|null
754 754
      */
755 755
     protected function getTable($selector) {
756 756
         $selector = $this->getSession()->getSelectorsHandler()->xpathLiteral($selector);
@@ -971,6 +971,7 @@  discard block
 block discarded – undo
971 971
 	
972 972
 	/**
973 973
 	 * We have to catch exceptions and log somehow else otherwise behat falls over
974
+	 * @param \WebDriver\Exception $e
974 975
 	 */
975 976
 	protected function logException($e){
976 977
 		file_put_contents('php://stderr', 'Exception caught: '.$e);
Please login to merge, or discard this patch.
BehatExtension/Context/ClassGuesser/ModuleContextClassGuesser.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     /**
29 29
      * Sets bundle namespace to use for guessing.
30 30
      *
31
-     * @param string $namespace
31
+     * @param string $namespaceBase
32 32
      */
33 33
     public function setNamespaceBase($namespaceBase)
34 34
     {
Please login to merge, or discard this patch.
src/SilverStripe/BehatExtension/Context/FixtureContext.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -545,6 +545,10 @@  discard block
 block discarded – undo
545 545
 		return $data;
546 546
 	}
547 547
 
548
+	/**
549
+	 * @param string $class
550
+	 * @param string $identifier
551
+	 */
548 552
 	protected function prepareAsset($class, $identifier, $data = null) {
549 553
 		if(!$data) $data = array();
550 554
 		$relativeTargetPath = (isset($data['Filename'])) ? $data['Filename'] : $identifier;
@@ -609,6 +613,7 @@  discard block
 block discarded – undo
609 613
 	 * 
610 614
 	 * @param String Class name
611 615
 	 * @param Array Map of field names or aliases to their values.
616
+	 * @param string $class
612 617
 	 * @return Array Map of actual object properties to their values.
613 618
 	 */
614 619
 	protected function convertFields($class, $fields) {
Please login to merge, or discard this patch.
src/SilverStripe/BehatExtension/Context/LoginContext.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -121,6 +121,8 @@
 block discarded – undo
121 121
 
122 122
      /**
123 123
      * @When /^I log in with "(?<username>[^"]*)" and "(?<password>[^"]*)"$/
124
+     * @param string $email
125
+     * @param string $password
124 126
      */
125 127
     public function stepILogInWith($email, $password)
126 128
     {        
Please login to merge, or discard this patch.
SilverStripe/BehatExtension/Context/SilverStripeAwareContextInterface.php 1 patch
Doc Comments   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,14 +21,16 @@
 block discarded – undo
21 21
     /**
22 22
      * Sets SilverStripe instance.
23 23
      *
24
-     * @param String $database_name Temp database name
24
+     * @param String $databaseName Temp database name
25
+     * @return void
25 26
      */
26 27
     public function setDatabase($databaseName);
27 28
 
28 29
     /**
29 30
      * Marks steps as AJAX steps for special treatment
30 31
      * 
31
-     * @param array $ajax_steps Array of step name parts to match
32
+     * @param array $ajaxSteps Array of step name parts to match
33
+     * @return void
32 34
      */
33 35
      public function setAjaxSteps($ajaxSteps);
34 36
 }
Please login to merge, or discard this patch.
src/SilverStripe/BehatExtension/Context/SilverStripeContext.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@
 block discarded – undo
134 134
 	 * When using the "data-title" attribute, ensure not to include double quotes.
135 135
 	 *
136 136
 	 * @param String $region Region name or CSS selector
137
-	 * @return MinkElement|null
137
+	 * @return \Behat\Mink\Element\NodeElement
138 138
 	 */
139 139
 	public function getRegionObj($region) {
140 140
 		// Try to find regions directly by CSS selector.
Please login to merge, or discard this patch.
src/SilverStripe/BehatExtension/Extension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
     }
65 65
 
66 66
     /**
67
-     * @return array
67
+     * @return Compiler\CoreInitializationPass[]
68 68
      */
69 69
     public function getCompilerPasses()
70 70
     {
Please login to merge, or discard this patch.