Skip to content

Commit

Permalink
Change directory structure to comply with PSR-0.
Browse files Browse the repository at this point in the history
  • Loading branch information
fzaninotto committed Oct 17, 2011
1 parent cade1ad commit d971e45
Show file tree
Hide file tree
Showing 22 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Use `Faker\Factory::create()` to create and initialize a faker generator, which

```php
<?php
require_once '/path/to/Faker/src/Factory.php';
require_once '/path/to/src/Faker/Factory.php';
$faker = Faker\Factory::create(); // $faker is a Faker\Generator instance

echo $faker->name;
Expand Down Expand Up @@ -157,7 +157,7 @@ You may want to get always the same generated data - for instance when using Fak

```php
<?php
require_once '/path/to/Faker/src/Factory.php';
require_once '/path/to/src/Faker/Factory.php';
$faker = Faker\Factory::create();
$faker->seed(1234);

Expand Down Expand Up @@ -189,7 +189,7 @@ The following script generates a valid XML document:

```php
<?php
require_once '/path/to/Faker/src/Factory.php';
require_once '/path/to/src/Faker/Factory.php';
$generator = Faker\Factory::create();
?>
<?xml version="1.0" encoding="UTF-8"?>
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.
2 changes: 1 addition & 1 deletion test/GeneratorTest.php → test/Faker/GeneratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Faker\Test;

require_once __DIR__ . '/../src/Generator.php';
require_once __DIR__ . '/../../src/Faker/Generator.php';

use Faker\Generator;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Faker\Test\Provider;

require_once __DIR__ . '/../../src/Provider/Base.php';
require_once __DIR__ . '/../../../src/Faker/Provider/Base.php';

use Faker\Provider\Base as BaseProvider;

Expand Down
4 changes: 2 additions & 2 deletions test/documentor.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
require_once __DIR__ . '/../src/Factory.php';
require_once __DIR__ . '/../src/Documentor.php';
require_once __DIR__ . '/../src/Faker/Factory.php';
require_once __DIR__ . '/../src/Faker/Documentor.php';

$generator = Faker\Factory::create();
$generator->seed(1);
Expand Down
2 changes: 1 addition & 1 deletion test/test.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
require_once __DIR__ . '/../src/Factory.php';
require_once __DIR__ . '/../src/Faker/Factory.php';
$generator = Faker\Factory::create();
$generator->seed(5);
?>
Expand Down

0 comments on commit d971e45

Please sign in to comment.