Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial Commit #2

Merged
merged 199 commits into from
May 13, 2021
Merged

Initial Commit #2

merged 199 commits into from
May 13, 2021

Conversation

eldadfux
Copy link
Member

No description provided.

.phpunit.result.cache Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
composer.json Show resolved Hide resolved
src/Database/Adapter.php Show resolved Hide resolved
src/Database/Adapter.php Show resolved Hide resolved
*/
public function filter(string $value):string
{
$value = preg_replace("/[^A-Za-z0-9]_/", '', $value);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we avoid RegEx somehow?

The readability suffers alot and if there is a native method we could utilize, we might even get a performance boost (even though the impact is not worth mentioning).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I like avoiding regex, let me see if I can come up with something effective.

src/Database/Adapter/MariaDB.php Show resolved Hide resolved
src/Database/Database.php Show resolved Hide resolved
Copy link
Contributor

@lohanidamodar lohanidamodar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey just few questions.

src/Database/Database.php Show resolved Hide resolved
src/Database/Database.php Show resolved Hide resolved
src/Database/Adapter.php Show resolved Hide resolved
src/Database/Adapter/MariaDB.php Show resolved Hide resolved
src/Database/Adapter/MariaDB.php Show resolved Hide resolved
src/Database/Adapter/MariaDB.php Show resolved Hide resolved
src/Database/Adapter/MariaDB.php Show resolved Hide resolved
src/Database/Database.php Show resolved Hide resolved
@eldadfux eldadfux merged commit a38ca8f into main May 13, 2021
eldadfux added a commit that referenced this pull request Jun 29, 2021
fogelito added a commit that referenced this pull request Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants