-
Notifications
You must be signed in to change notification settings - Fork 36
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 #97 from phalcon/development
1.3.5
- Loading branch information
Showing
7 changed files
with
65 additions
and
11 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,4 +1,4 @@ | ||
version: 1.3.3-{build} | ||
version: 1.3.5-{build} | ||
|
||
environment: | ||
matrix: | ||
|
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
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 +1 @@ | ||
1.3.4 | ||
1.3.5 |
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--TEST-- | ||
Test extension info | ||
--SKIPIF-- | ||
<?php include(__DIR__ . '/../skipif.inc'); ?> | ||
--FILE-- | ||
<?php | ||
|
||
function contains($input, $expected) { | ||
return strpos($input, $expected) !== false | ||
? $expected | ||
: 'not contains'; | ||
} | ||
|
||
$version = phpversion('Zephir Parser'); | ||
$actual = trim(file_get_contents(__DIR__ . '/../../VERSION')); | ||
|
||
$compare = $version === $actual; | ||
var_dump($compare); | ||
|
||
ob_start(); | ||
phpinfo(INFO_MODULES); | ||
$info = trim(ob_get_clean()); | ||
|
||
echo contains($info, 'Zephir Parser').PHP_EOL; | ||
echo contains($info, 'The Zephir Parser delivered as a C extension for the PHP language.').PHP_EOL; | ||
echo contains($info, 'Zephir Parser => enabled').PHP_EOL; | ||
echo contains($info, 'Author => Zephir Team and contributors').PHP_EOL; | ||
echo contains($info, 'Version =>').PHP_EOL; | ||
echo contains($info, 'Build Date =>').PHP_EOL; | ||
?> | ||
--EXPECT-- | ||
bool(true) | ||
Zephir Parser | ||
The Zephir Parser delivered as a C extension for the PHP language. | ||
Zephir Parser => enabled | ||
Author => Zephir Team and contributors | ||
Version => | ||
Build Date => |
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