Skip to content

Commit

Permalink
Merge pull request #288 from uuf6429/chore/relocate-files
Browse files Browse the repository at this point in the history
Relocate files to remove redundant directories
  • Loading branch information
acoulton authored Feb 22, 2025
2 parents 482a58e + d7dc340 commit 5edc2f5
Show file tree
Hide file tree
Showing 156 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@
},

"autoload": {
"psr-0": {
"Behat\\Gherkin": "src/"
"psr-4": {
"Behat\\Gherkin\\": "src/"
}
},

"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
"Tests\\Behat\\Gherkin\\": "tests/"
}
},

Expand Down
4 changes: 2 additions & 2 deletions phpunit.dist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
displayDetailsOnTestsThatTriggerWarnings="true">
<testsuites>
<testsuite name="Behat Gherkin test suite">
<directory>./tests/Behat/Gherkin/</directory>
<directory>./tests/</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory>./src/Behat/Gherkin/</directory>
<directory>./src/</directory>
</include>
</source>
</phpunit>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
*/
class CompatibilityTest extends TestCase
{
public const TESTDATA_PATH = __DIR__ . '/../../../../vendor/cucumber/cucumber/gherkin/testdata';
public const TESTDATA_PATH = __DIR__ . '/../../vendor/cucumber/cucumber/gherkin/testdata';

private array $notParsingCorrectly = [
'complex_background.feature' => 'Rule keyword not supported',
Expand Down Expand Up @@ -64,7 +64,7 @@ class CompatibilityTest extends TestCase

protected function setUp(): void
{
$arrKeywords = include __DIR__ . '/../../../../i18n.php';
$arrKeywords = include __DIR__ . '/../../i18n.php';
$lexer = new Lexer(new Keywords\ArrayKeywords($arrKeywords));
$this->parser = new Parser($lexer);
$this->loader = new CucumberNDJsonAstLoader();
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ class CachedArrayKeywordsTest extends KeywordsTestCase
{
protected function getKeywords()
{
return new CachedArrayKeywords(__DIR__ . '/../../../../i18n.php');
return new CachedArrayKeywords(__DIR__ . '/../../i18n.php');
}

protected function getKeywordsArray()
{
return include __DIR__ . '/../../../../i18n.php';
return include __DIR__ . '/../../i18n.php';
}

protected function getSteps($keywords, $text, &$line, $keywordType)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 5edc2f5

Please sign in to comment.