Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
245cb65
Fix for issue #35. Corrected ActiveRecordTest's so that capitalizatio…
ipundit Aug 31, 2023
e1bb78f
Primary key has to be lowercased too because gettter/setters are lowe…
ipundit Aug 31, 2023
f6e2981
Fix for issue #35. Corrected ActiveRecordTest's so that capitalizatio…
ipundit Aug 31, 2023
67471f5
Primary key has to be lowercased too because gettter/setters are lowe…
ipundit Aug 31, 2023
83a4db0
Merge branch 'master' of https://github.com/ipundit/activerecord
ipundit Sep 1, 2023
1aea4e1
Merge branch 'master' into master
ipundit Sep 1, 2023
9639f31
Merge branch 'master' of https://github.com/php-activerecord/activere…
ipundit Sep 2, 2023
52478ab
Running all the tests may take more than the default of 300 seconds. …
ipundit Sep 2, 2023
c323677
Write proper tests that demonstrate the fix for issue #35:
ipundit Sep 2, 2023
80ed052
Switched from firstName field to existing mixedCaseField to pass Post…
ipundit Sep 2, 2023
b8ecfc0
- List things in alphabetical order
ipundit Sep 2, 2023
23d00a7
Revert updates to test suite as ActiveRecordTest::test_case_insensiti…
ipundit Sep 2, 2023
e31ec4f
Merge branch 'master' of https://github.com/php-activerecord/activere…
ipundit Sep 2, 2023
9a6fb32
Merge branch 'master' of https://github.com/php-activerecord/activere…
ipundit Sep 2, 2023
ba7f090
Merge branch 'master' of https://github.com/php-activerecord/activere…
ipundit Sep 4, 2023
d42a7d1
Implemented composer test <fileName> <filter>
ipundit Sep 4, 2023
fc79d97
Merge branch 'master' of https://github.com/php-activerecord/activere…
ipundit Sep 4, 2023
568cfb5
Merge branch 'master' of https://github.com/php-activerecord/activere…
ipundit Sep 4, 2023
650d368
Fix style issues
ipundit Sep 4, 2023
767e537
Merge branch 'master' of https://github.com/php-activerecord/activere…
ipundit Sep 4, 2023
089d3d3
Merge branch 'master' of https://github.com/php-activerecord/activere…
ipundit Sep 5, 2023
2eec6b0
Merge branch 'master' of https://github.com/php-activerecord/activere…
ipundit Sep 5, 2023
6aba443
Fix for issue #55
ipundit Sep 5, 2023
cf6056e
Merge branch 'master' of https://github.com/php-activerecord/activere…
ipundit Sep 5, 2023
64e45b8
Remove unused items in composer.json
ipundit Sep 5, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@
}
},
"autoload-dev": {
"files": [
"scripts/TestCommand.php"
],
"psr-4": {
"ActiveRecord\\Scripts\\": "scripts/",
"test\\": "test/"
Expand Down
2 changes: 1 addition & 1 deletion lib/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -1794,7 +1794,7 @@ public static function find(/* $type, $options */): static|array|null
$num_args = count($args);
$single = true;

if (in_array($args[0], ['all', 'first', 'last'])) {
if (count($args) > 0 && in_array($args[0], ['all', 'first', 'last'])) {
switch ($args[0]) {
case 'all':
$single = false;
Expand Down