Commit Graph

48 Commits

Author SHA1 Message Date
Scrutinizer Auto-Fixer e51fe2be5f Scrutinizer Auto-Fixes
This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/timw4mail/Query/inspections/d131279f-a838-49e5-bbfb-20c256a06153

Enabled analysis tools:
 - PHP Analyzer
 - PHP Mess Detector
 - PHP Lines Of Code
 - PHP PDepend
 - External Code Coverage
 - PHP HHVM
 - PHP Similarity Analyzer
 - PHP Change Tracking Analyzer
2014-08-08 20:02:14 +02:00
Timothy Warren 6a38213a62 Improve some tests and docblocks 2014-04-28 16:41:46 -04:00
Timothy Warren 5b531cf588 De-duplicate truncate method of drivers 2014-04-24 16:25:04 -04:00
Timothy Warren 17354ee87e Move SQL and Util classes to their own namespaces 2014-04-24 15:32:09 -04:00
Timothy Warren ff77cea041 Remove __call method from util classes 2014-04-24 13:42:01 -04:00
Timothy Warren fddd92a375 Fix some more docblocks 2014-04-23 16:27:43 -04:00
Timothy Warren d6c0fd23dc Add update and delete rules to foreign key methods 2014-04-17 16:41:12 -04:00
Timothy Warren 80595dfbbe Update foreign key driver methods to return the same kind of information 2014-04-15 16:15:08 -04:00
Timothy Warren 32696a53ff Flesh out the table builder a bit, and add some missing driver methods to SQLite 2014-04-10 15:54:43 -04:00
Timothy Warren 303eda1567 Fix sql test errors 2014-04-08 15:38:18 -04:00
Timothy Warren d87de2ba47 Fix sqlite tests 2014-04-08 15:19:47 -04:00
Timothy Warren 85b804adaa Update drivers with missing method 2014-04-08 14:43:07 -04:00
Timothy Warren 2af3b0be9f Add method to retrieve foreign keys for a table to driver classes 2014-04-07 16:49:49 -04:00
Timothy Warren 3eeea75b54 Cut down on some duplication, and increase test coverage 2014-04-03 16:49:01 -04:00
Timothy Warren a3339200f0 Rename db_util to abstract_util, mark create_table method as deprecated 2014-04-03 14:44:03 -04:00
Timothy Warren 4809016c31 Add insert_batch methods to Firebird and SQLite 2014-04-03 13:28:30 -04:00
Timothy Warren e3fdad5206 Namespaces! 2014-04-02 17:08:50 -04:00
Timothy Warren 02d4e0e52e improve query builder and connection manager, skip coverage of some soon-to-be-removed methods 2014-04-02 10:31:59 -04:00
Timothy Warren 5b908f5816 Add abstract class for sql classes to have base limit method 2014-03-26 21:33:58 -04:00
Timothy Warren 3a16f3c65b Make sqlite limit statement more different than mysql limit statement 2014-03-26 21:19:24 -04:00
Timothy Warren 846e68acc4 Add interface for pdo drivers to enforce the same interface on the Firebird driver 2014-03-26 20:49:33 -04:00
Timothy Warren af73f80558 Remove pointless constructor over-riding 2014-03-20 11:20:30 -04:00
Timothy Warren 97275ba404 Update some docblocks for __called methods 2014-03-17 20:20:53 -04:00
Timothy Warren 0ae237ab33 Merge pull request #2 from timw4mail/scrutinizer-patch-1
Scrutinizer Auto-Fixes
2014-03-17 19:45:55 -04:00
Timothy Warren 97730f0002 Fix some code quality issues 2014-03-17 19:45:41 -04:00
Scrutinizer Auto-Fixer 2b4154a91b Scrutinizer Auto-Fixes
This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/timw4mail/Query/inspections/89ed2aa4-7aae-45bb-9289-ebb27a60ef13

Enabled analysis tools:
 - PHP Analyzer
 - PHP Copy/Paste Detector
 - PHP PDepend
2014-03-18 00:35:25 +01:00
Timothy Warren 4702ccb2b3 No more skipped tests, and minor update to query formatting 2014-02-21 15:02:41 -05:00
Timothy Warren 1095e85762 Fix some docblocks, and update test files to 2014 2014-02-18 15:18:01 -05:00
Timothy Warren 29f824b562 Reorganize sqlite tests and improve coverage 2014-02-07 14:18:08 -05:00
Timothy Warren f640de4e81 Remove a few undocumented database-specific methods 2014-02-07 14:16:39 -05:00
Timothy Warren 8dc2079d43 Add `explain` method to query builder 2014-02-04 20:59:30 -05:00
Timothy Warren 6dc9ed0d52 Update copyright for the new year 2014-01-02 12:36:50 -05:00
Timothy Warren 73d6e72afc Improve test coverage of sql driver 2013-12-09 20:11:49 -05:00
Timothy Warren f6bfe414e6 Add insert batch as a function to overwrite in drivers 2013-05-03 13:07:34 -04:00
Timothy Warren 40c76b2653 Changed invalid methods to return NULL instead of FALSE, added insert_batch 2013-05-01 15:59:23 -04:00
Timothy Warren 0e44bbaf0d Update year 2013-01-02 14:26:42 -05:00
Timothy Warren 785e5f2e1f Add interfaces 2012-12-18 16:19:52 -05:00
Timothy Warren 1e71b225c5 Make mysql/postgres drivers compatible with Quercus 2012-07-05 14:19:49 -04:00
Timothy Warren 3da9cd9c19 Added more meta-information methods, with tests 2012-05-09 13:54:38 -04:00
Timothy Warren db1490c016 Partially implement type_list method 2012-05-08 08:31:57 -04:00
Timothy Warren e4acfda004 Add list_types abstract method to db_sql class 2012-05-07 16:05:51 -04:00
Timothy Warren 1849e2d6a8 Misc tweaks 2012-04-23 13:28:49 -04:00
Timothy Warren 8fc9a7295d Firebird fixes, moved num_rows() method to db_pdo class 2012-04-20 16:33:40 -04:00
Timothy Warren 62a7eaf73d Add package docblock options 2012-04-20 13:17:39 -04:00
Timothy Warren 845e0fee08 Added class reference in docs folder, improved comment consistency in classes 2012-04-19 11:42:50 -04:00
Timothy Warren 12f53c5fd5 Split off db_util classes for each driver 2012-04-18 15:53:06 -04:00
Timothy Warren f7d18b19fd Added count_all method to query_builder 2012-04-17 08:29:28 -04:00
Timothy Warren 86fe790f28 Reorganize drivers 2012-04-10 14:06:34 -04:00