Skip to content

Commit dd7df0e

Browse files
committed
several improvements
1 parent e5e2487 commit dd7df0e

8 files changed

Lines changed: 8 additions & 9 deletions

File tree

src/Fly/Console/Application.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ public function setExceptionHandler($handler)
210210
}
211211

212212
/**
213-
* Set the Laravel application instance.
213+
* Set the FlyPHP application instance.
214214
*
215215
* @param \Fly\Foundation\Application $flyphp
216216
* @return \Fly\Console\Application

src/Fly/Foundation/Console/TailCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ protected function getPath($connection)
128128
}
129129

130130
/**
131-
* Get the path to the Laravel install root.
131+
* Get the path to the FlyPHP install root.
132132
*
133133
* @param string $connection
134134
* @return string

src/Fly/Session/Middleware.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQ
6060
$this->checkRequestForArraySessions($request);
6161

6262
// If a session driver has been configured, we will need to start the session here
63-
// so that the data is ready for an application. Note that the Laravel sessions
63+
// so that the data is ready for an application. Note that the FlyPHP sessions
6464
// do not make use of PHP "native" sessions in any way since they are crappy.
6565
if ($this->sessionConfigured())
6666
{

src/Fly/Workbench/Console/WorkbenchMakeCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ protected function getArguments()
130130
protected function getOptions()
131131
{
132132
return array(
133-
array('resources', null, InputOption::VALUE_NONE, 'Create Laravel specific directories.'),
133+
array('resources', null, InputOption::VALUE_NONE, 'Create FlyPHP specific directories.'),
134134
);
135135
}
136136

tests/Console/ConsoleApplicationTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public function tearDown()
1010
}
1111

1212

13-
public function testAddSetsLaravelInstance()
13+
public function testAddSetsFlyphpInstance()
1414
{
1515
$app = $this->getMock('Fly\Console\Application', array('addToParent'));
1616
$app->setFlyphp('foo');
@@ -23,7 +23,7 @@ public function testAddSetsLaravelInstance()
2323
}
2424

2525

26-
public function testLaravelNotSetOnSymfonyCommands()
26+
public function testFlyphpNotSetOnSymfonyCommands()
2727
{
2828
$app = $this->getMock('Fly\Console\Application', array('addToParent'));
2929
$app->setFlyphp('foo');

tests/Html/FormBuilderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ public function testResetInput()
385385

386386
public function testImageInput()
387387
{
388-
$url = 'http://laravel.com/';
388+
$url = 'http://flyphp.org/';
389389
$image = $this->formBuilder->image($url);
390390

391391
$this->assertEquals('<input src="'. $url .'" type="image">', $image);

tests/Pagination/PaginationCustomPresenterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function testGetPageLinkWrapper()
1717
->andReturnUsing(function($url, $page) {
1818
return '<a href="' . $url . '">' . $page . '</a>';
1919
});
20-
$this->assertEquals('<a href="http://laravel.com?page=1">1</a>', $customPresenter->getPageLinkWrapper('http://laravel.com?page=1', '1'));
20+
$this->assertEquals('<a href="http://flyphp.org?page=1">1</a>', $customPresenter->getPageLinkWrapper('http://flyphp.org?page=1', '1'));
2121
}
2222

2323
public function testGetDisabledTextWrapper()

tests/Support/SupportStrTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ class SupportStrTest extends PHPUnit_Framework_TestCase {
77
/**
88
* Test the Str::words method.
99
*
10-
* @group laravel
1110
*/
1211
public function testStringCanBeLimitedByWords()
1312
{

0 commit comments

Comments
 (0)