Skip to content

Commit

Permalink
Add operation trait on get (#81)
Browse files Browse the repository at this point in the history
* Add operation trait on get

* Fix scrutinizer issue with ubuntu package manager
  • Loading branch information
tbolier authored Dec 19, 2019
1 parent 1a96160 commit 113c883
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 150 deletions.
1 change: 1 addition & 0 deletions .phpunit.result.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
C:37:"PHPUnit\Runner\DefaultTestResultCache":1369:{a:2:{s:7:"defects";a:4:{s:93:"TBolier\RethinkQL\UnitTest\Serializer\QueryNormalizerTest::testNormalizeWithCircularReference";i:3;s:107:"TBolier\RethinkQL\UnitTest\Serializer\QueryNormalizerTest::testInvalidArgumentExceptionThrownOnInvalidClass";i:6;s:102:"TBolier\RethinkQL\UnitTest\Serializer\QueryNormalizerTest::testLogicExceptionThrownOnInvalidNormalizer";i:4;s:96:"TBolier\RethinkQL\UnitTest\Serializer\QueryNormalizerTest::testIfDenormalizeThrowsLogicException";i:4;}s:5:"times";a:8:{s:84:"TBolier\RethinkQL\UnitTest\Serializer\QueryNormalizerTest::testNormalizeWithStdClass";d:0.006;s:83:"TBolier\RethinkQL\UnitTest\Serializer\QueryNormalizerTest::testNormalizeWithOptions";d:0.001;s:93:"TBolier\RethinkQL\UnitTest\Serializer\QueryNormalizerTest::testNormalizeWithCircularReference";d:0.001;s:92:"TBolier\RethinkQL\UnitTest\Serializer\QueryNormalizerTest::testNormalizeWithJsonSerializable";d:0.009;s:107:"TBolier\RethinkQL\UnitTest\Serializer\QueryNormalizerTest::testInvalidArgumentExceptionThrownOnInvalidClass";d:0.001;s:102:"TBolier\RethinkQL\UnitTest\Serializer\QueryNormalizerTest::testLogicExceptionThrownOnInvalidNormalizer";d:0.003;s:98:"TBolier\RethinkQL\UnitTest\Serializer\QueryNormalizerTest::testSupportsDenormalizationReturnsFalse";d:0;s:96:"TBolier\RethinkQL\UnitTest\Serializer\QueryNormalizerTest::testIfDenormalizeThrowsLogicException";d:0;}}}
12 changes: 7 additions & 5 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@ build:
before:
- 'source /etc/lsb-release && echo "deb http://download.rethinkdb.com/apt $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list'
- 'wget -qO- https://download.rethinkdb.com/apt/pubkey.gpg | sudo apt-key add -'
- 'sudo apt-get update -y'
- 'sudo apt-get install rethinkdb -y'
- 'sudo apt-get install apt-transport-https ca-certificates -y'
- 'sudo apt-get install libprotobuf8 -f'
- 'wget https://download.rethinkdb.com/apt/pool/trusty/main/r/rethinkdb/rethinkdb_2.3.6~0trusty_amd64.deb'
- 'sudo dpkg --install rethinkdb_2.3.6~0trusty_amd64.deb'
- 'sudo cp /etc/rethinkdb/default.conf.sample /etc/rethinkdb/instances.d/instance1.conf'
- 'sudo /etc/init.d/rethinkdb start'
# Overwrites inferred commands
- 'sudo service rethinkdb start'
# Overwrites inferred commands
override: []
# Runs after inferred commands
after: []
Expand All @@ -49,7 +51,7 @@ build_failure_conditions:
- 'issues.label("coding-style").new.exists'

# No critical issue is present
- 'issues.severity(= MINOR).exists'
# - 'issues.severity(= MINOR).exists'

# No new critical issue is introduced (existing ones are tolerated)
- 'issues.severity(= MINOR).new.exists'
Expand Down
1 change: 1 addition & 0 deletions src/Query/Operation/Get.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
class Get extends AbstractQuery
{
use ManipulationTrait;
use OperationTrait;

/**
* @var string|int
Expand Down
145 changes: 0 additions & 145 deletions test/unit/Serializer/QueryNormalizerTest.php

This file was deleted.

0 comments on commit 113c883

Please sign in to comment.