Skip to content

Commit

Permalink
ensured Object to Obj switch for php 7.2+ compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
esokullu committed Sep 8, 2018
1 parent 108d77c commit e251edd
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 9 deletions.
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
"monolog/monolog": "^1.22",
"zendframework/zend-config": "*",
"pimple/pimple": "^1.1",
"phonetworks/pho-lib-graph": "^7.3",
"phonetworks/pho-framework": "^10.0",
"phonetworks/pho-framework": "^11.0",
"webmozart/assert": "^1.2",
"danielstjules/stringy": "^3.0",
"vlucas/phpdotenv": "^2.4",
Expand Down
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<env name="STORAGE_TYPE" value="filesystem" />
<env name="STORAGE_URI" value="/tmp/pho" />
<env name="INDEX_TYPE" value="neo4j" />
<env name="INDEX_URI" value="bolt://neo4j:password@localhost:7687" />
<env name="INDEX_URI" value="bolt://neo4j:password@127.0.0.1:7687" />
</php>

<testsuites>
Expand Down
2 changes: 1 addition & 1 deletion src/Pho/Kernel/Acl/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ So for example, if this $node was a group (like a Facebook Group), this means:
| | Admin | Read | Write | Execute (Subscribe)
| --------- | ---------------- | ------------------ | -------------- | --------------------
| Actor | Manage profile | See full profile. | Edit profile | Follow/become friends (or if friends already, react)
| Object | Manage reactions | Read | Edit | Subscribe/*react*
| Obj | Manage reactions | Read | Edit | Subscribe/*react*
| Graph | Moderate/profile | Read contents | Post content | Subscribe
2 changes: 1 addition & 1 deletion src/Pho/Kernel/Foundation/AbstractObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Pho\Kernel\Kernel;
use Pho\Kernel\Standards;

abstract class AbstractObject extends Framework\Object implements ParticleInterface {
abstract class AbstractObject extends Framework\Obj implements ParticleInterface {

use ParticleTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/Pho/Kernel/Foundation/ObjectOut/Mention.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Pho\Lib\Graph\NodeInterface;
use Pho\Lib\Graph\PredicateInterface;

class Mention extends \Pho\Framework\ObjectOut\Mention
class Mention extends \Pho\Framework\ObjOut\Mention
{
//use \Pho\Kernel\Traits\Edge\PersistentTrait;

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

namespace Pho\Kernel\Foundation\ObjectOut;

class MentionNotification extends \Pho\Framework\ObjectOut\MentionNotification {
class MentionNotification extends \Pho\Framework\ObjOut\MentionNotification {

}
2 changes: 1 addition & 1 deletion src/Pho/Kernel/Foundation/ObjectOut/MentionPredicate.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

namespace Pho\Kernel\Foundation\ObjectOut;

class MentionPredicate extends \Pho\Framework\ObjectOut\MentionPredicate {
class MentionPredicate extends \Pho\Framework\ObjOut\MentionPredicate {

}
2 changes: 1 addition & 1 deletion tests/Pho/Kernel/Services/Storage/S3Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
use Pho\Kernel\Services\Storage\Adapters\S3;
use Pho\Kernel\Services\Storage\Exceptions\InaccessiblePathException;

class FilesystemTest extends TestCase {
class S3Test extends TestCase {

const BUS_GIF_BASE64 = "R0lGODlhPQBEAPeoAJosM//AwO/AwHVYZ/z595kzAP/s7P+goOXMv8+fhw/v739/f+8PD98fH/8mJl+fn/9ZWb8/PzWlwv///6wWGbImAPgTEMImIN9gUFCEm/gDALULDN8PAD6atYdCTX9gUNKlj8wZAKUsAOzZz+UMAOsJAP/Z2ccMDA8PD/95eX5NWvsJCOVNQPtfX/8zM8+QePLl38MGBr8JCP+zs9myn/8GBqwpAP/GxgwJCPny78lzYLgjAJ8vAP9fX/+MjMUcAN8zM/9wcM8ZGcATEL+QePdZWf/29uc/P9cmJu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SKJOMRB/BoIxYJIUXFUxNwoIkEKPAgCBZSQHQ1A2EWDfDEUVLyADj5AChSIQW6gu10bE/JG2VnCZGfo4R4d0sdQoBAHhPjhIB94v/wRoRKQWGRHgrhGSQJxCS+0pCZbEhAAOw==";

Expand Down

0 comments on commit e251edd

Please sign in to comment.