File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed
Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 44 - ' 5.6'
55 - ' 7.0'
66
7+ before_script :
8+ - composer self-update
9+ - composer install --prefer-source --no-interaction --dev
10+
711script : phpunit
Original file line number Diff line number Diff line change 11PHP JSON Pointer
22================
3- This library allows usage of RFC-6901-compliant JSON pointers with PHP
4- variables.
3+ [ ![ Build Status] ( https://travis-ci.org/remorhaz/php-json-pointer.svg?branch=master )] ( https://travis-ci.org/remorhaz/php-json-pointer )
4+
5+ This library allows usage of RFC-6901-compliant JSON pointers with PHP variables.
56
67#License
78PHP JSON Pointer is licensed under MIT license.
@@ -49,7 +50,7 @@ $result = $pointer
4950 ->setText($link)
5051 ->test(); // Sets $result to FALSE.
5152
52- // Treating PHP objects as arrays (not compliant with RFC6901, but
53+ // Treating PHP arrays as objects (not compliant with RFC6901, but
5354// it's the only way to access non-numeric index in PHP array).
5455$subData = ['g' => 2, 'h' => 3];
5556$link = '/a/c/g'; // Link to non-numeric index of array.
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <phpunit bootstrap =" vendor/autoload.php" >
2+ <phpunit
3+ bootstrap =" vendor/autoload.php"
4+ colors =" true" >
35 <testsuites >
46 <testsuite name =" Library Test Suite" >
57 <directory >tests/</directory >
You can’t perform that action at this time.
0 commit comments