-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #83 from corcel/develop
Update to Corcel 3.0
- Loading branch information
Showing
13 changed files
with
967 additions
and
417 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,5 @@ | ||
language: php | ||
php: | ||
- '5.6' | ||
- '7.0' | ||
- '7.1' | ||
- '7.2' | ||
- '7.3' | ||
dist: trusty | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
* | ||
* @author Junior Grossi <[email protected]> | ||
*/ | ||
class BasicFieldsTest extends PHPUnit_Framework_TestCase | ||
class BasicFieldsTest extends PHPUnit\Framework\TestCase | ||
{ | ||
/** | ||
* @var Post | ||
|
@@ -18,7 +18,7 @@ class BasicFieldsTest extends PHPUnit_Framework_TestCase | |
/** | ||
* Setup a base $this->post object to represent the page with the basic fields. | ||
*/ | ||
protected function setUp() | ||
protected function setUp(): void | ||
{ | ||
$this->post = Post::find(11); // it' a page with the custom fields | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,14 +9,14 @@ | |
* | ||
* @author Junior Grossi <[email protected]> | ||
*/ | ||
class ChoicesFieldsTest extends PHPUnit_Framework_TestCase | ||
class ChoicesFieldsTest extends PHPUnit\Framework\TestCase | ||
{ | ||
/** | ||
* @var Post | ||
*/ | ||
protected $post; | ||
|
||
public function setUp() | ||
protected function setUp(): void | ||
{ | ||
$this->post = Post::find(44); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
* | ||
* @author Junior Grossi <[email protected]> | ||
*/ | ||
class ContentFieldsTest extends PHPUnit_Framework_TestCase | ||
class ContentFieldsTest extends PHPUnit\Framework\TestCase | ||
{ | ||
/** | ||
* @var Post | ||
|
@@ -21,7 +21,7 @@ class ContentFieldsTest extends PHPUnit_Framework_TestCase | |
/** | ||
* Setup a base $this->post object to represent the page with the content fields. | ||
*/ | ||
protected function setUp() | ||
protected function setUp(): void | ||
{ | ||
$this->post = Post::find(21); // it' a page with the custom fields | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
* | ||
* @author Junior Grossi <[email protected]> | ||
*/ | ||
class CorcelIntegrationTest extends PHPUnit_Framework_TestCase | ||
class CorcelIntegrationTest extends PHPUnit\Framework\TestCase | ||
{ | ||
public function testIfCorcelIntegrationIsWorking() | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
* | ||
* @author Junior Grossi <[email protected]> | ||
*/ | ||
class EmptyBasicFieldsTest extends PHPUnit_Framework_TestCase | ||
class EmptyBasicFieldsTest extends PHPUnit\Framework\TestCase | ||
{ | ||
/** | ||
* @var Post | ||
|
@@ -19,7 +19,7 @@ class EmptyBasicFieldsTest extends PHPUnit_Framework_TestCase | |
/** | ||
* Setup a base $this->post object to represent the page with the basic fields. | ||
*/ | ||
protected function setUp() | ||
protected function setUp(): void | ||
{ | ||
$this->post = Post::find(91); // it' a page with empty custom fields | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
* | ||
* @author Junior Grossi <[email protected]> | ||
*/ | ||
class FieldFactoryTest extends PHPUnit_Framework_TestCase | ||
class FieldFactoryTest extends PHPUnit\Framework\TestCase | ||
{ | ||
public function testInvalidFieldName() | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
* | ||
* @author Junior Grossi <[email protected]> | ||
*/ | ||
class LayoutFieldsTest extends PHPUnit_Framework_TestCase | ||
class LayoutFieldsTest extends PHPUnit\Framework\TestCase | ||
{ | ||
public function testRepeaterField() | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,14 +11,14 @@ | |
* | ||
* @author Junior Grossi <[email protected]> | ||
*/ | ||
class RelationalFieldsTests extends PHPUnit_Framework_TestCase | ||
class RelationalFieldsTests extends PHPUnit\Framework\TestCase | ||
{ | ||
/** | ||
* @var Post | ||
*/ | ||
protected $post; | ||
|
||
public function setUp() | ||
protected function setUp(): void | ||
{ | ||
$this->post = Post::find(56); | ||
} | ||
|