Skip to content

Commit 754015a

Browse files
committed
code formatting fixes, updated readme to track 2.3 branch builds
1 parent 886db26 commit 754015a

File tree

10 files changed

+4
-13
lines changed

10 files changed

+4
-13
lines changed

ext/DotReporter.php

-1
Original file line numberDiff line numberDiff line change
@@ -107,5 +107,4 @@ public function printFailed(FailEvent $event)
107107
{
108108
$this->standardReporter->printFail($event);
109109
}
110-
111110
}

readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![Daily Downloads](https://img.shields.io/packagist/dd/codeception/codeception.svg)](https://packagist.org/packages/codeception/codeception)
66
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/Codeception/Codeception?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
77
[![PHP 7 ready](http://php7ready.timesplinter.ch/Codeception/Codeception/badge.svg)](https://travis-ci.org/Codeception/Codeception)
8-
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/Codeception/Codeception/badges/quality-score.png?b=2.2)](https://scrutinizer-ci.com/g/Codeception/Codeception/?branch=2.2)
8+
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/Codeception/Codeception/badges/quality-score.png?b=2.3)](https://scrutinizer-ci.com/g/Codeception/Codeception/?branch=2.3)
99

1010
**Modern PHP Testing for everyone**
1111

@@ -15,7 +15,7 @@ Powered by PHPUnit.
1515

1616
| General | Windows | Webdriver | Facebook | HHVM |
1717
| ------- | -------- | -------- | -------- | -------- |
18-
| [![Build Status](https://secure.travis-ci.org/Codeception/Codeception.png?branch=2.2)](http://travis-ci.org/Codeception/Codeception) | [![Build status](https://ci.appveyor.com/api/projects/status/ntjj9i4y67d1rb7y?svg=true)](https://ci.appveyor.com/project/DavertMik/codeception/branch/2.2) | [![Build Status](https://semaphoreci.com/api/v1/codeception/codeception/branches/master/shields_badge.svg)](https://semaphoreci.com/codeception/codeception) | [ ![Facebook Status for Codeception/Codeception](https://codeship.com/projects/e4bc90d0-1ed5-0134-566c-1ed679ae6c9d/status?branch=2.2)](https://codeship.com/projects/160201) | [![wercker status](https://app.wercker.com/status/b4eecd0596bedb65333ff7ab7836bc7f/s/ "wercker status")](https://app.wercker.com/project/byKey/b4eecd0596bedb65333ff7ab7836bc7f) |
18+
| [![Build Status](https://secure.travis-ci.org/Codeception/Codeception.png?branch=2.3)](http://travis-ci.org/Codeception/Codeception) | [![Build status](https://ci.appveyor.com/api/projects/status/ntjj9i4y67d1rb7y?svg=true)](https://ci.appveyor.com/project/DavertMik/codeception/branch/2.3) | [![Build Status](https://semaphoreci.com/api/v1/codeception/codeception/branches/master/shields_badge.svg)](https://semaphoreci.com/codeception/codeception) | [ ![Facebook Status for Codeception/Codeception](https://codeship.com/projects/e4bc90d0-1ed5-0134-566c-1ed679ae6c9d/status?branch=2.3)](https://codeship.com/projects/160201) | [![wercker status](https://app.wercker.com/status/b4eecd0596bedb65333ff7ab7836bc7f/s/ "wercker status")](https://app.wercker.com/project/byKey/b4eecd0596bedb65333ff7ab7836bc7f) |
1919

2020

2121
#### Contributions

src/Codeception/Command/GenerateSuite.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public function execute(InputInterface $input, OutputInterface $output)
109109

110110
$file = $this->createDirectoryFor(
111111
Configuration::supportDir(),
112-
$actor
112+
$actor
113113
) . $this->getShortClassName($actor);
114114
$file .= '.php';
115115

src/Codeception/Command/Shared/Config.php

-1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,5 @@ protected function enableExtensions($extensions)
6262
$config['extensions']['enabled'][] = $name;
6363
}
6464
return Configuration::append($config);
65-
6665
}
6766
}

src/Codeception/Lib/Connector/Laravel5.php

-1
Original file line numberDiff line numberDiff line change
@@ -353,5 +353,4 @@ public function disableMiddleware()
353353
$this->middlewareDisabled = true;
354354
$this->app->instance('middleware.disable', true);
355355
}
356-
357356
}

src/Codeception/Lib/Connector/Shared/LaravelCommon.php

-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ private function applyInstances()
7070
foreach ($this->instances as $abstract => $instance) {
7171
$this->app->instance($abstract, $instance);
7272
}
73-
7473
}
7574

7675
//======================================================================

src/Codeception/Lib/Connector/Yii2.php

-2
Original file line numberDiff line numberDiff line change
@@ -138,13 +138,11 @@ public function doRequest($request)
138138
$yiiRequest->setQueryParams($_GET);
139139

140140
try {
141-
142141
$app->trigger($app::EVENT_BEFORE_REQUEST);
143142

144143
$app->handleRequest($yiiRequest)->send();
145144

146145
$app->trigger($app::EVENT_AFTER_REQUEST);
147-
148146
} catch (\Exception $e) {
149147
if ($e instanceof HttpException) {
150148
// Don't discard output and pass exception handling to Yii to be able

src/Codeception/Module/Cli.php

-1
Original file line numberDiff line numberDiff line change
@@ -113,5 +113,4 @@ public function seeResultCodeIsNot($code)
113113
{
114114
$this->assertNotEquals($this->result, $code, "result code is $code");
115115
}
116-
117116
}

src/Codeception/Module/Doctrine2.php

-1
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,6 @@ public function haveFakeRepository($classname, $methods = [])
279279
$property = $reflectedEm->getProperty('repositories');
280280
$property->setAccessible(true);
281281
$property->setValue($em, array_merge($property->getValue($em), [$classname => $mock]));
282-
283282
} elseif ($reflectedEm->hasProperty('repositoryFactory')) {
284283
//For doctrine 2.4.0+ versions
285284

src/Codeception/Template/Unit.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,5 @@ public function setup()
8888
$this->say("Create the first test using <comment>codecept g:test unit MyTest</comment>");
8989
$this->say("Run tests with <comment>codecept run</comment>");
9090
$this->say("<bold>Happy testing!</bold>");
91-
9291
}
93-
}
92+
}

0 commit comments

Comments
 (0)