larastrict

Opinionated extension of a Laravel framework to help you build type safe, testable and reusable code.

MIT License

Downloads
2.7K
Stars
5
Committers
2

Bot releases are visible (Hide)

larastrict - v0.0.67

Published by github-actions[bot] about 1 year ago

✨ New Features

  • e99a21e - Database: Add ability to force null values to 0.0 when using FloatCast (commit by @pionl)
larastrict - v0.0.66

Published by github-actions[bot] over 1 year ago

✨ New Features

  • 0583ac8 - Database: Add OrderByValuesScope for ordering by values in given order (commit by @pionl)
larastrict - v0.0.65

Published by github-actions[bot] over 1 year ago

✨ New Features

  • 62869c3 - Testing: ModelResourceTestCase allows entity in resource (commit by @pionl)
larastrict - v0.0.64

Published by github-actions[bot] over 1 year ago

💥 BREAKING CHANGES

  • due to 780f59a - ResourceTestCase $object supports mixed type or closure (commit by @pionl):

    Update createResource typehint to mixed.

  • due to e3bf3ec - Add support for setting container to collection of resources (commit by @pionl):

    If you pass container and do not use JsonResource exception will be thrown.

  • due to 20b1ff4 - Move mockery to ModelResourceTestCase (commit by @pionl):

    ResourceTestCase does not include Mockery. Use this if needed

        use MockeryPHPUnitIntegration;  
        use MockeryTestCaseSetUp;  
        protected function mockeryTestSetUp(): void  
        {  
            $this->mockModels();  
        }  
        protected function mockeryTestTearDown(): void  
        {  
        }  
    
  • due to 99006bf - PHPStorm run for ResourceTestCase with single data entry test (commit by @pionl):

    to allow running single data test in PHPStorm, test function was removed.
    To run tests add this method when extending the TestCase.

        /**  
         * @param \Closure(static):void $assert  
         * @dataProvider data  
         */  
        public function test(\Closure $assert): void  
        {  
            $assert($this);  
        }  
    

✨ New Features

  • 3e7b7e9 - Http: Update MessageResource to use own JsonResource (commit by @pionl)
  • 780f59a - Testing: ResourceTestCase $object supports mixed type or closure (commit by @pionl)
  • e3bf3ec - Http: Add support for setting container to collection of resources (commit by @pionl)
  • 20b1ff4 - Testing: Move mockery to ModelResourceTestCase (commit by @pionl)
  • 34af3f0 - Http: Add resourceArray to JsonResource/ResourceTestCase (commit by @pionl)

🐛 Bug Fixes

  • 99006bf - Testing: PHPStorm run for ResourceTestCase with single data entry test (commit by @pionl)

✅ Tests

  • 6a2788a - Add test for internal resources (commit by @pionl)
larastrict - v0.0.63

Published by github-actions[bot] over 1 year ago

✨ New Features

  • 2573fce - Http: Add JsonResource that can create instances (with unit testing) (commit by @pionl)
  • 882c3b5 - Testing: Add a unit test case for quick testing of resources (commit by @pionl)
  • 6e9a475 - Testing: Add ability to test models without Laravel framework (commit by @pionl)
larastrict - v0.0.62

Published by github-actions[bot] over 1 year ago

🐛 Bug Fixes

  • c30fc9c - Testing: Upgrade Laravel assert (construct, nullable, remove array_values) (commit by @pionl)
larastrict - v0.0.61

Published by github-actions[bot] over 1 year ago

💥 BREAKING CHANGES

  • due to acc90a9 - AssertExpectations automatically checks if expectations were called (commit by @pionl):

Due the changes the expectation logic has been changed and you need to update your code. How to migrate in PR #40

✨ New Features

  • acc90a9 - Testing: AssertExpectations automatically checks if expectations were called (commit by @pionl)
larastrict - v0.0.60

Published by github-actions[bot] over 1 year ago

✨ New Features

  • b35f53d - Testing: AssertEventListeners: Prevent other listeners to be fired (commit by @pionl)
larastrict - v0.0.59

Published by github-actions[bot] over 1 year ago

✨ New Features

  • c7b8e75 - Database: Store database like value and add null support to FloatCast (commit by @pionl)
larastrict - v0.0.58

Published by github-actions[bot] over 1 year ago

🐛 Bug Fixes

  • 21c5a53 - Testing: Fix missing UrlGenerator and add tests (commit by @pionl)
larastrict - v0.0.57

Published by github-actions[bot] over 1 year ago

✨ New Features

  • d432f7b - Testing: Add ResponseFactoryAssert (commit by @pionl)
larastrict - v0.0.56

Published by github-actions[bot] over 1 year ago

✨ New Features

  • b8636b8 - Testing: Add Cache RepositoryAssert (commit by @pionl)
larastrict - v0.0.55

Published by github-actions[bot] over 1 year ago

✨ New Features

  • 8ae2d7a - Testing: Add ability to assert AppConfig (use AppConfigContract for implementation) (commit by @pionl)

🐛 Bug Fixes

  • b0874e8 - Testing: Fix MakeExpectationCommand with union returns in assert class (commit by @pionl)
larastrict - v0.0.54

Published by github-actions[bot] over 1 year ago

🐛 Bug Fixes

  • 4d75907 - Database: Allow all Laravel 9 versions (Fix PHPStan warnings) (commit by @pionl)
  • 8f48750 - Cache: Add @template return type to CacheMeServiceContract::get (commit by @h4kuna )
larastrict - v0.0.53

Published by github-actions[bot] over 1 year ago

✨ New Features

  • 6d89f9a - Database: Add float cast that supports comma (commit by @h4kuna)
larastrict - v0.0.52

Published by github-actions[bot] over 1 year ago

🐛 Bug Fixes

  • 4292a8a - Rules: Improve NumberRule range of supported int/float values (commit by @h4kuna)
larastrict - v0.0.51

Published by github-actions[bot] over 1 year ago

🐛 Bug Fixes

  • a54eeb4 - Queue: Correctly ensure that queue is not overridden when using property (commit by @pionl)
larastrict - v0.0.50

Published by github-actions[bot] over 1 year ago

🐛 Bug Fixes

  • 4844918 - Queue: Ensure that queue is not overridden when using property (commit by @pionl)
larastrict - v0.0.49

Published by github-actions[bot] over 1 year ago

💥 BREAKING CHANGES

  • due to 1742fcf - Allow array arguments in queued command (commit by @pionl):

    low - ScheduleServiceService renamed to ScheduleService

🐛 Bug Fixes

  • 1742fcf - Schedule: Allow array arguments in queued command (commit by @pionl)
larastrict - v0.0.48

Published by github-actions[bot] over 1 year ago

🐛 Bug Fixes

  • ec40840 - Database: Fix PHPStan with scopes parameter in missing methods (commit by @pionl)